<?php
/**
 * Created by PhpStorm.
 * User: sunzexin
 * Date: 2017/12/29
 * Time: 18:34
 */

namespace App\Http\Traits;


use Illuminate\Http\Request;

trait StandardValueTrait
{
    use BaseTrait;
    // 登陆者Session
    protected $loginSession;
    // 规格ID
    protected $standard_id;
    // 规格值
    protected $value;

    public function __construct(Request $request)
    {
        $this->loginSession = $request->input('loginSession');
        $this->standard_id = $request->input('standard_id');
        $this->value = $request->input('value');
    }
}